package org.spring.application.service;

import org.spring.application.interf.BInterface;
import org.spring.spring.anno.Aspect;
import org.spring.spring.anno.Component;
import org.spring.spring.anno.Resource;

/**
 * @projectName: sky-springboot
 * @package: org.spring.application.service
 * @className: BService
 * @author: zhl
 * @description: TODO
 * @date: 2024/3/21 11:44
 * @version: 1.0
 */
@Aspect
@Component
public class BService implements BInterface {

    @Resource
    private AService aService;

    @Override
    public void getFieldMessage() {
        System.out.println("BService打印属性AService的bean对象（存在aop的循环依赖）：" + aService);
    }
}
